<!DOCTYPE html>
<html class="um landscape min-width-240px min-width-320px min-width-480px min-width-768px min-width-1024px">
<head>
		<title></title>
		<meta charset="utf-8">
		<meta name="viewport" content="target-densitydpi=device-dpi, width=device-width, initial-scale=1, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
		<link rel="stylesheet" href="../css/ui-input.css">
		<link rel="stylesheet" href="../css/ui-on.css">
		<link rel="stylesheet" href="../css/ui-img.css">
		<link rel="stylesheet" href="../css/ui-res.css">
		<link rel="stylesheet" href="../css/ui-list.css">
		<link rel="stylesheet" href="../css/ui-res.css">
		<link rel="stylesheet" href="../css/ui-box.css">
		<link rel="stylesheet" href="../css/ui-base.css">
		<link rel="stylesheet" href="../css/ui-color.css">
		<link rel="stylesheet" href="../css/base.css">
		<link rel="stylesheet" href="../css/img.css">
		
		<script src="../js/core/zy_control.js"></script>
		<script src="../js/core/zy_click.js"></script>
		<script src="../js/core/appframework.js"></script>
		<script src="../js/main.js"></script>
		<script src="../js/core.js"></script>
		<script src="../js/res.js"></script>
		
		<script src="../js/group.js"></script>
</head>
<body class="ub ub-ver">
		<div class="up_base_pwd" id="pwdCtn">
			<div class="ub-ver ub">
				<div class="uc-a1 umt_1">
					<div class="uplr_p5 ub t-bla ulab ub-ac">
					<div class="ulim">组名:&nbsp;</div>
					<div class="ub-f1 uinput uinn4">
						<input id="name" placeholder="" type="text" class="uc-a1"></div><div class="b_list signup_input_ctn">
					</div>
			</div>
		</div>
		
</body>
</html>
<script>
zy_init();

window.uexOnload = function(type){
	if (!type) {
		var filed = GetLS("set_edit_filed");
		var group = GetLS("alist_gdetail");
		$("#name").attr("value",group.name);
		Res.gnTitle({title:"修改组名", rightTitle:"确定", rightFn: function(){
			var data = {};
			data.from = group.name;
			data.to = $("#name").val();
			$ajax({
				url: "/user/updateGroupName",
				data: data,
				success: function(res) {
					PCall("group_detail","$('#name').text('" + data.to + "')");
					PCall("address","CCall('Alist.init()')");
					WinClose();
				}
			});
		}});				
		Add20ToHeader();
	}
}
</script>